package com.linkzd.iot.model;

import java.util.List;

/**
 * @author: Wangym
 * @Date: 2024/5/23 16:44
 * @Description:
 */
public class DeviceResult {

    private List<DeviceModel> actuator;  //执行器

    private List<DeviceModel> sensor; //传感器

    public DeviceResult() {
    }

    public DeviceResult(List<DeviceModel> actuator, List<DeviceModel> sensor) {
        this.actuator = actuator;
        this.sensor = sensor;
    }

    public List<DeviceModel> getActuator() {
        return actuator;
    }

    public void setActuator(List<DeviceModel> actuator) {
        this.actuator = actuator;
    }

    public List<DeviceModel> getSensor() {
        return sensor;
    }

    public void setSensor(List<DeviceModel> sensor) {
        this.sensor = sensor;
    }

    @Override
    public String toString() {
        return "DeviceResult{" +
                "actuator=" + actuator +
                ", sensor=" + sensor +
                '}';
    }
}
